Merge tag '1%19.1.7-1+rpi1' into HEAD forky-staging archive/raspbian/1%21.1.8-1+rpi1 raspbian/1%21.1.8-1+rpi1
authorPeter Michael Green <plugwash@raspbian.org>
Sat, 17 Jan 2026 07:45:36 +0000 (07:45 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 21 Jan 2026 06:12:48 +0000 (06:12 +0000)
1  2 
compiler-rt/cmake/base-config-ix.cmake
debian/changelog
debian/control
debian/control.in
debian/patches/series
debian/rules
llvm/cmake/modules/GetHostTriple.cmake

index 0ea09d62597efb90a91c66e89c650689b7582562,8be0f0103b07076389a38bc6042a94986e02a271..93ac95d17c9441bdd8f74d43d7fc3904f4915e62
 -llvm-toolchain-19 (1:19.1.7-1+rpi1) trixie-staging; urgency=medium
++llvm-toolchain-21 (1:21.1.8-1+rpi1) forky-staging; urgency=medium
+   [changes brought forward from llvm-toolchain-3.8 1:3.8-2+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Sat, 14 May 2016 21:43:35 +0000]
+   * Cleanup .pyc files in clean target.
+   * Add a hack to the cmake based build to force armv6 (unfortunately the cmake
+     based build relies on config.guess which assumes you want to build for the
+     hardware you are running on).
+   * Add -DCOMPILER_RT_BUILD_BUILTINS=OFF to disable parts of compiler-rt that
+     are broken on lower arm architectures.
+   [changes introduced in llvm-toolchain-3.9 1:3.9.1-1 by Peter Michael Green]
+   * disable testsuite (using a method that is hopefully less likely to cause diff conflicts than previously).
+   * Remove -march=armv7-a in compiler-rt/cmake/config-ix-base.cmake
+   * Clean up debian/usr in clean target.
+   * Clean up clang/tools/*-3.9 in clean target.
+   * Clean up stray *3.9.vim files
+   * Clean up clang/tools/scan-build/man/scan-build-3.9.1 and utils/vim/llvm-3.9-vimrc
+   * Clean up debian/*.install
+   [changes introduced in llvm-toolchain-6.0 1:6.0-1+rpi1 by Peter michael green]
+   * create build-llvm/docs/ocamldoc/html/ so the install target doesn't complain
+     about it not existing.
+   * clean up more crap left behind by build process.
+   [changes introduced in llvm-toolchain-6.0 1:6.0-3+rpi1 by Peter Michael Green]
+   * Remove debian/man in clean target.
+   [changes introduced in llvm-toolchain-7 1:7-6+rpi1 by Peter Michael Green]
+   * Use libatomic on armhf
+   * Set cmake/config.guess.hack back to mode 644 in clean target to keep
+     git/dgit happy.
+   * Yet more clean target fixes.
+   [changes introduced in llvm-toolchain-7 1:7.0.1-1+rpi2 by Peter Michael Green]
+   * Change triplet in debian/rules to use armv6k rather than armv7l
+   [changes introduced in llvm-toolchain-12 1:12.0.1-16 by Peter Michael Green]
+   * Disable llvm libunwind on armhf, it seems to come out armv7 contaminated.
+   [changes introduced in llvm-toolchain-13 (1:13.0.0-9+rpi1 by Peter Michael Green]
+   * Disable scudo on armhf, it needs atomics which we do not want to enable.
+   [changes brought forward from 1:13.0.0-9+rpi2 by Peter Michael Green <plugwash@raspbian.org> at Tue, 23 Nov 2021 22:37:30 +0000]
+   * Remove armhf from architecture list for libunwind-13-dev dependency.
 - -- Raspbian forward porter <root@raspbian.org>  Sun, 23 Mar 2025 03:31:10 +0000
++ -- Peter Michael Green <plugwash@raspbian.org>  Sat, 17 Jan 2026 07:35:17 +0000
++
 +llvm-toolchain-21 (1:21.1.8-1) unstable; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * Enable offloading on riscv64 (Aurelian Jarno).
 +  * Manually fix the python3 shebangs. dh_python3 can only handle one
 +    private directory. Also install lit first in the dh_override_install
 +    target, fix it there, and move it to the package from there.
 +  * Add build conflicts on llvm-21-runtime and clang-21, or else the
 +    wasm build picks up stuff from the installed llvm-21 and fails.
 +  * Update symbols files again.
 +
 +  [ Sylvestre Ledru ]
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 16 Dec 2025 12:47:30 +0100
 +
 +llvm-toolchain-21 (1:21.1.7-1) unstable; urgency=medium
 +
 +  * LLVM 21.1.7 release.
 +
 +  * Update symbols files for hurd-amd64.
 +  * clang-21-tools, llvm-21-tools: Use dh_python3 substvars.
 +  * liblldb-21: Move the .so symlink to the liblldb-21-dev package.
 +  * Add myself as uploader for 21.
 +  * d/rules: Remove unnecessary use of the CURDIR macro.
 +
 + -- Matthias Klose <doko@debian.org>  Tue, 09 Dec 2025 22:34:57 +0100
 +
 +llvm-toolchain-21 (1:21.1.6-3) unstable; urgency=medium
 +
 +  * Fix liborc install on hurd-amd64.
 +  * Also call dh_python for the llvm-X.Y-tools package.
 +  * libunwind-X.Y-dev: Stop providing libunwind-dev. As updated in the
 +    package description, the unwinder is incompatible with glibc.
 +  * d/rules, d/*.{install,links,lintian-overrides}.in: Use a macro LLVM_LIBDIR.
 +  * Fix one more libclang1 lintian override.
 +  * Fix one more libc++-21-dev-wasm32 lintian override.
 +  * Update symbols files from the buildd logs, including i386.
 +  * Fix syntax for OR-ed build profiles.
 +
 + -- Matthias Klose <doko@debian.org>  Sun, 30 Nov 2025 08:20:46 +0100
 +
 +llvm-toolchain-21 (1:21.1.6-2) unstable; urgency=medium
 +
 +  [ Samuel Thibault ]
 +  * Enable compiler-rt and disable liborc on hurd-amd64.
 +    (Closes: #1121222)
 +
 +  [ Sylvestre Ledru ]
 +  * Enable sse2 back on i386 (closes: #1116636)
 +    https://lists.debian.org/debian-devel/2025/01/msg00034.html
 +    (remove the two patches that we are applying for disable sse2)
 +    It is now the same as upstream
 +
 + -- Samuel Thibault <sthibault@debian.org>  Sun, 23 Nov 2025 14:28:16 +0100
 +
 +llvm-toolchain-21 (1:21.1.6-1) unstable; urgency=medium
 +
 +  * LLVM 21.1.6 release.
 +
 +  [ Sylvestre Ledru ]
 +  * Workaround the replaces/breaks on apt.llvm.org (upstream 167538)
 +
 +  [ Matthias Klose ]
 +  * Only run the flang autopkg tests where flang is available.
 +  * Rename the LIBC_ARCHS macro to LLVM_LIBC_ARCHS, and only run the
 +    libllvmlibc autopkg tests where the package is available.
 +  * Skip the "Test pthread_cancel with libunwind compatibility" autopkg test.
 +    Is this supposed to work at all?  See #1118641.
 +  * Fix removing *.pyc files and __pycache__ dirs during installation.
 +  * Fix some lintian warnings, override some more.
 +  * Update symbols files from the buildd logs.
 +
 +  [ Scott Talbert ]
 +  * Fix crash when building GHC 9.10 on armhf
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 21 Nov 2025 15:09:31 +0100
 +
 +llvm-toolchain-21 (1:21.1.5-1) unstable; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * New upstream release
 +  * d/rules: Mark usage of SLOPPY_BUILD to ease searching in the build log.
 +  * Update watch file, use with --force-download to fetch the integration
 +    testsuite.
 +  * Bump llvm-spirv build dependency to 21 again.
 +  * Introduce an OMPD_ARCHS macro and use it.
 +  * Add a llvm.noclang build profile (not enabled by default).
 +  * Introduce LLVM_SPIRV_ARCHS and CLANG_GRPC_ARCHS macros and use them.
 +  * Bump standards version.
 +  * Also use the grpc bits for clang on i386.
 +  * Don't run the omp autopkg test on i386. Closes: #1118644.
 +  * d/tests/control.in: Add test dependency on g++-multilib. Closes: #1118643.
 +  * d/debian-llvm-testsuite.bats: Skip test. Closes: #1118641.
 +    The test "pthread_cancel with libunwind compatibility" is wrong.
 +  * d/tests/control.in: Add test dependency on binutils-gold. Closes: #1118646.
 +  * Build and install libflang_rt.runtime. Closes: #1117534.
 +  * Add the alternate hello b-d for grpc related build dependencies.
 +  * Add profile to ocaml build dependencies.
 +  * Re(?)-enable omp on i386.
 +  * d/control: Only use one build profile per binary package for now. The ORing
 +    of build profiles seems to be not working.
 +  * Rename build profiles from llvm.* to pkg.llvm.*.
 +  * Fix some lintian warnings, override some more.
 +  * Filter hardening flags from FFLAGS, not understood by flang.
 +  * Clarify the libunwind package descriptions, that it is not compatible
 +    with glibc.
 +  * Re-add the negative hardening options for the FFLAGS filtering, removed in
 +    the "improve the filtering" commit.
 +
 +  [ Sylvestre Ledru ]
 +  * Rename 160581.diff to flang-runtime.diff
 +  * Remove duplicate coverity declaration
 +  * Remove duplicate buster in SPIRV_DISABLE_DISTRO
 +  * RUNTIMES = compiler-rt;libcxx;libcxxabi is set identically in both branches
 +    of a conditional -
 +  * Rename ign_fail => ignore_if_fail
 +  * create a macro check_pkg_version to simplify the code
 +  * Remove a 19 artifact
 +  * Use a macro to dedup remove_rpath code
 +  * Fix typo in control
 +  * Rename ign_fail => ignore_if_fail
 +  * README: remove the svn doc
 +  * Missing Shebang in unpack.sh
 +  * Remove dup declarations in llvm-X.Y
 +    obj2yaml, yaml2obj, verify-uselistorder & sanstats
 +  * Remove old TODO
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 10 Nov 2025 21:21:05 +0100
 +
 +llvm-toolchain-21 (1:21.1.4-8) unstable; urgency=medium
 +
 +  * d/rules: Move OMP_ARCHS and LIBUNWIND_ARCHS macro usage after definition.
 +  * ompd is not available on armhf.
 +  * d/rules: Also turn on SLOPPY_BUILD for amd64.
 +
 + -- Matthias Klose <doko@debian.org>  Wed, 05 Nov 2025 12:41:59 +0100
 +
 +llvm-toolchain-21 (1:21.1.4-7) unstable; urgency=medium
 +
 +  * Fix installation of the asan_symbolize binary.
 +  * Rename the python extension ompdModule.so to one with the
 +    architecture specific extension.
 +  * d/rules, d/*.{install,links,lintian-overrides}.in: Use a macro LLVM_DIR.
 +
 + -- Matthias Klose <doko@debian.org>  Tue, 04 Nov 2025 22:12:56 +0100
 +
 +llvm-toolchain-21 (1:21.1.4-6) unstable; urgency=medium
 +
 +  * Add support to disable the OCAML build for specific releases.
 +  * Set explicit architecture list for libfuzzer-dev.
 +  * d/rules: New macro SLOPPY_BUILD to avoid build failures caused by
 +    additional build artifacts or missing symbols.  Better to collect
 +    that information in build logs and apply it in follow-up uploads.
 +    Turn it on for architectures other than amd64 and arm64 for now.
 +  * Make the library packages libc++1, libc++abi1, libomp5 and llvm-libunwind1
 +    M-A: same, moving the real files to /usr/lib/<multiarch>.  Provide the
 +    symlinks in /usr/lib/llvm-X.Y/lib in the correspinding -dev packages.
 +    Addresses: #1116212.
 +  * Revert parts of the SKIP_COMMON_PACKAGES changes, the move of the files
 +    to another package and the breaks/replaces are not needed anymore.
 +  * Update libomp5 symbols for ppc64 and ppc64el.
 +  * d/rules: Use POLLY_ARCHS instead of POLLY_NO_ARCHS.
 +  * Factor out BOLT_ARCHS and HWASAN_ARCHS.
 +  * When not building the common packages,
 +    - Remove the files in these packages according to their .install file.
 +    - Add a build dependency on the libllvm<next version> package.
 +  * d/rules: Don't remove the intermediate build files. This increases
 +    the build form 15GB to 35GB, far lower than the 100GB buildd limit.
 +  * llvm-X.Y-dev: Create a debian_config.mk Makefile snippet to record
 +    component builds for every architecture.  Used by llvm-defaults to
 +    avoid hard-coding these again.
 +  * Reset the libomp5 symbols files, now generated by pkgkde-symbolshelper.
 +    Let the buildds collect the symbols for the other architectures.
 +  * Fix build dependencies when not building the common library packages.
 +  * d/rules: Differentiate between COMMON_PKGS and COMMON_BUILD_DEPS.
 +  * d/rules: Build again omp on mips64el and ppc64, as done in 19.
 +  * Install asan_symbolize in clang-tools, same as hwasan_sybolize.
 +  * Update libc++1 and libc++abi1 symbols files for all architectures.
 +  * d/rules: Use a d/shlibs.local file when not building the common libraries.
 +  * Fix installation of the asan_symbolize binary.
 +  * Rename the python extension ompdModule.so to one with the
 +    architecture specific extension.
 +  * d/rules, d/*.{install,links,lintian-overrides}.in: Use a macro LLVM_DIR.
 +
 + -- Matthias Klose <doko@debian.org>  Tue, 04 Nov 2025 18:00:30 +0100
 +
 +llvm-toolchain-21 (1:21.1.4-5) unstable; urgency=medium
 +
 +  * debian/debian-llvm-testsuite.bats: Reformat and sort LIST.
 +  * Move libomptarget library from libomp5 to liboffload-X.Y.
 +  * d/rules: Don't call dh_makeshlibs for libomp5 twice.
 +  * d/rules: Ignore errors from dh_makeshlibs --remaining-packages.
 +    Let's collect symbols diffs first.
 +  * Update symbols files for libc++1, libc++abi1, libomp5 and
 +    llvm-libunwind1 on amd64, arm64, armhf, i386, ppc64el and s390x.
 +  * Reset the libc++1 and libc++abi1 symbols files, generated by
 +    pkgkde-symbolshelper.  Let the buildds collect the symbols
 +    for the other architectures.
 +  * d/rules: Build with dh_install --list-missing to collect uninstalled
 +    artifacts on other architectures.
 +
 + -- Matthias Klose <doko@debian.org>  Wed, 29 Oct 2025 12:29:06 +0100
 +
 +llvm-toolchain-21 (1:21.1.4-4) unstable; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * Introduce the Ubuntu Resolute distro, remove obsolete Plucky patch.
 +  * d/rules: Add alpha to BINUTILS_ARCHS.
 +  * Always build the LLVMgold plugin, independent of the linker used for
 +    the build.
 +  * Define -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON on all architectures for correct
 +    cross compilers. Except on powerpc and ppc64, where it thinks it has this
 +    feature also on the host.
 +  * d/rules: Fix $ expansion in dpkg-query call.
 +  * d/rules: Factor out LIBUNWIND_ARCHS macro.
 +  * libomptarget is not built on ppc64.
 +  * Limit architecture of binary packages to the ones supported by LLVM.
 +  * d/libomp-X.Y-dev.install.in, d/libomp5-X.Y.install.in: Use OFFLOAD_ARCHS.
 +  * d/rules: Make grep a bit more quiet.
 +  * d/control*: Remove ${t64:Provides}.
 +  * Add patch to useRVA23U64 baseline on riscv64. Not applied by default.
 +  * python3-lldb-X.Y: Remove some dangling symlinks and use dh-python
 +    to create proper dependencies for the package. Addresses: #1106112.
 +  * d/p/protobuf_3.21.patch: Remove obsolete patch. Addresses: #1093963.
 +  * Remove obsolete build dependencies libjsoncpp-dev and pkg-config.
 +    Addresses: #1093961.
 +  * Add command completion for the versioned clang binary. Addresses: #1109370.
 +  * Rename libunwind1 to llvm-libunwind1, the namespace is already taken
 +    by the libunwind source package.
 +  * For the new llvm-libunwind1, libc++abi1 and libc++1 packages:
 +    - Add symbols files.
 +    - Add proper breaks/replaces for the previous packages built from
 +      this source.
 +    - Relax the dependency from the corresponding -dev packages
 +      from = to >=, needed when these new packages will be built from
 +      newer LLVM versions.
 +    - These should be Multi-Arch: same, but it is not yet possible,
 +      because these also exist in /usr/lib/llvm-21/lib ...
 +  * Bump the debhelper dependency to 11, d/compat was already at 11.
 +  * clang-tools: Install hwasan_symbolize on x32.
 +  * Drop major version from libomp5-21, rename to libomp5.
 +  * Build polly again on powerpc.
 +  * Also call dh_python3 for python3-clang-X.Y.
 +  * d/rules: New macro SMALL_DISK to remove intermediate files during the build.
 +    Turned on by default for buildd constraints.
 +  * d/rules: Fix stripping RPATH/RUNPATH.
 +  * Fix the binary-indep only build.
 +  * Introduce a macro SKIP_COMMON_PACKAGES to disable the build of packages
 +    built from an newer LLVM version (libc++1, libc++abi1, libomp5,
 +    llvm-libunwind1).
 +    When not building these packages, move the links in /usr/lib/llvm-X.Y/lib
 +    into the corresponding -dev packages and add a replaces to the last version
 +    building the common packages.
 +  * d/rules: Add dependencies for various build targets. Addresses: #1105541.
 +  * d/debian-llvm-testsuite.bats: Update for new package names.
 +  * Fix libPolly installation on powerpc.
 +
 +  [ Andres Salomon ]
 +  * Drop major version from libc++1-21, libc++abi1-21, and libunwind-21
 +    package names (eg, libc++1-21 -> libc++1). Upstream guarantees a stable
 +    ABI.
 +  * Add SONAME to libunwind (-> libunwind1) (closes: #1116211)
 +
 +  [ Norbert Lange ]
 +  * Move clang-cl and clang-scan-deps from clang-tools to the clang package.
 +  * Build compiler-rt for mingw-w64.
 +
 + -- Matthias Klose <doko@debian.org>  Tue, 28 Oct 2025 21:24:45 +0100
 +
 +llvm-toolchain-21 (1:21.1.4-3) unstable; urgency=medium
 +
 +  * Stop using gold, and use the GNU BFD linker where lld is not working.
 +  * Set the baseline for Ubuntu/s390x 26.04 LTS and later to z15.
 +  * d/rules: Remove unused macro LLDB_ENABLE.
 +  * Turn off offloading on ppc64 and hurd-amd64. Unsupported.
 +  * d/rules: Don't turn off COMPILER_RT_USE_BUILTINS_LIBRARY and
 +    LIBCXX_USE_COMPILER_RT on s390x. Closes: #1114980.
 +  * Diffentiate between LLD_ARCHS and LLD_BUILD_ARCHS. On some architectures
 +    lld is not usable for the bootstrap.
 +  * Try to turn off compiler-rt on hurd-amd64.
 +  * d/libclang1-X.Y.symbols.in: Add LLVM_21 symbol version, remove specific
 +    symbols covered by the added symbol version.
 +  * Fix usage-wrapper usage on hurd-amd64.
 +  * Update symbols files for libc++1, libc++abi1 and llvm-libunwind1.
 +
 + -- Matthias Klose <doko@debian.org>  Thu, 23 Oct 2025 10:50:08 +0200
 +
 +llvm-toolchain-21 (1:21.1.4-2) unstable; urgency=medium
 +
 +  * Rename debian-llvm-testsuite.sh => debian-llvm-testsuite.bats
 +    And don't call it with bash
 +    It is a bats script
 +    (Closes: #1118487)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 22 Oct 2025 09:53:11 +0200
 +
 +llvm-toolchain-21 (1:21.1.4-1) unstable; urgency=medium
 +
 +  * new upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 21 Oct 2025 11:03:29 +0200
 +
 +llvm-toolchain-21 (1:21.1.3-1) unstable; urgency=medium
 +
 +  * new upstream release
 +  * refresh the list of the symbols in libclang & libomp (Closes: #1117600)
 +  * Do not test gold usage anymore. lld or mold are now much better
 +    (Closes: #1117385)
 +  * Reame qualify-clang.sh to debian-llvm-testsuite.sh as it is now doing
 +    much more
 +  * adjust debian-llvm-testsuite.sh to use lld instead of gold
 +    and debian/tests/integration-test-suite-test
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 12 Oct 2025 17:16:05 +0200
 +
 +llvm-toolchain-21 (1:21.1.2-4) unstable; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * Cherry-pick 149665 to fix an armhf time64_t failure
 +    Thanks to Gianfranco Costamagna for the patch
 +
 +  [ Matthias Klose ]
 +  * d/libclang-rt-X.Y-dev.install.in: liborc_rt* is not available on powerpc.
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 07 Oct 2025 11:55:16 +0200
 +
 +llvm-toolchain-21 (1:21.1.2-3) unstable; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * Also install xray on other archs in libclang-common-X.Y-dev
 +    (change made in 20)
 +
 +  [ Samuel Thibault ]
 +  * debian/patches/hurd/47211c4b96e99a3344a71570a99b991c5f5c1c01.patch: Fix
 +    build on hurd.
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 26 Sep 2025 18:23:56 +0200
 +
 +llvm-toolchain-21 (1:21.1.2-2) unstable; urgency=medium
 +
 +  * Bootstrap with llvm-spirv-19 instead of 21
 +    (experimental and unstable build machines are different)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 25 Sep 2025 14:51:34 +0200
 +
 +llvm-toolchain-21 (1:21.1.2-1) unstable; urgency=medium
 +
 +  * Bump llvm-spirv dep to 21
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 24 Sep 2025 08:09:15 +0200
 +
 +llvm-toolchain-21 (1:21.1.1-1) unstable; urgency=medium
 +
 +  * New upstream release
 +  * never use libunwind for libc++abi
 +    Thanks to Norbert Lange for the fix
 +  * Build compiler builtin for s390x
 +
 +  [ Andres Salomon ]
 +  * Fix incorrect major version dependency in libc++-21-dev.
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 20 Sep 2025 09:12:54 +0200
 +
 +llvm-toolchain-21 (1:21.1.0-1) unstable; urgency=medium
 +
 +  * New upstream release
 +  * I am not going to upload -20 in unstable to avoid the maintenance burden
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 27 Aug 2025 10:47:13 +0200
 +
 +llvm-toolchain-21 (1:21.1.0~+rc2-1~exp1) experimental; urgency=medium
 +
 +  * Creation of the 21 branch
 +  * upload of the rc2 version
 +  * Try to use llvm-spirv-20
 +
 +  [ Jianfeng Liu ]
 +  * Add CFLAGS/CXXFLAGS -mcmodel=medium on loong64 (Closes: #1107858)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 29 Jul 2025 17:24:17 +0200
 +
 +llvm-toolchain-snapshot (1:21~++20250612091244+3f0cf742ac4e-1~exp1) experimental; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * Remove llvm-gpu-loader like upstream
 +  * Remove libomptarget.devicertl.a as it seems it has been removed here
 +    https://github.com/llvm/llvm-project/pull/136359
 +  * Remove 0001-tools-clang-cmake-resolve-symlinks-in-ClangConfig.cmake.patch
 +    to see if it fixes: https://github.com/llvm/llvm-project/issues/132556
 +  * Also ship usr/lib/llvm-21/lib/amdgcn-amd-amdhsa/libompdevice.a
 +    usr/lib/llvm-21/lib/nvptx64-nvidia-cuda/libompdevice.a in
 +    libomp-21-dev
 +  * Lower flang python dep for Debian buster for apt.llvm.org
 +    lower-flang-py-dep.diff
 +  * Adjust the path to libomptarget*bc
 +  * revert a flang-rt change to fix
 +    https://github.com/llvm/llvm-project/issues/139220
 +  * Ship more clang-doc
 +  * Also install llvm-test-mustache-spec
 +  * Ship offload-arch as part of clang-tools-X-Y
 +    79cb6f05da37520949c006e26c5cef1826090d9d
 +
 +  [ Matthias Klose ]
 +  * On ppc64el configure with -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON for
 +  * upcoming distros. Closes: #1113934.
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 12 Jun 2025 09:14:29 +0200
 +
 +llvm-toolchain-snapshot (1:21~++20250322080030+20b5728b7b1c-1~exp1) experimental; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * d/rules: Distinguish between openmp and offload architectures.
 +  * Update libclang1 symbols file.
 +  * Update libomp symbols file, using symvers.
 +  * d/t/control: Remove explicit dependency on libstdc++-N-dev.
 +  * d/rules: Simplify permission settings for generated debhelper files.
 +  * d/rules: There's no more CMakeOutput.log anymore.
 +
 +  [ Sylvestre Ledru ]
 +  * Prepare version 21
 +  * Merge recent changes from 19 and 20
 +  * Use lld as a linker instead of gold
 +  * clang-21 recommends clang-tools-21
 +    https://github.com/llvm/llvm-project/issues/117333
 +  * Do not install libclc header anymore.
 +    See a2b05761724e5243056988d9d6bf1a5a94715b74
 +    "The libclc headers are an implementation detail and are not
 +    intended to be used by others as OpenCL headers"
 +  * remove libc rpc files following upstream change
 +    8437b7f5584765ad4f7885500647657714930fbb
 +  * Add llvm-ml64 as part of the llvm-X.Y
 +    3c657ceef9ced068b0c7bc2f1d5fb74250720f6c
 +  * Add llvm-gpu-loader as part of the llvm-X.Y
 +    221b0117fd21d45098ead779a040a4b939a5c84f
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 22 Mar 2025 08:01:26 +0100
 +
 +llvm-toolchain-20 (1:20.1.0-1~exp2) experimental; urgency=medium
 +
 +  * Merge changes from the 19 branch
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 09 Mar 2025 10:52:27 +0100
 +
 +llvm-toolchain-20 (1:20.1.0-1~exp1) experimental; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 06 Mar 2025 14:40:09 +0100
 +
 +llvm-toolchain-20 (1:20.1.0~+rc3-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 27 Feb 2025 08:17:03 +0100
 +
 +llvm-toolchain-20 (1:20.1.0~+rc2-1~exp2) experimental; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * clang-20 recommends clang-tools-20
 +    https://github.com/llvm/llvm-project/issues/117333
 +  * remove old libomp-20-dev breaks/replaces
 +  * Cherry-pick upstream fix for issue 126358
 +
 +  [ Matthias Klose ]
 +  * d/llvm-X.Y-linker-tools.links.in: Remove, no gold anymore. LP: #2098355.
 +  * d/rules: Simplify permission settings for generated debhelper files.
 +  * d/rules: There's no more CMakeOutput.log anymore.
 +  * d/libomp5-X.Y.symbols.in: Remove duplicate symbol.
 +  * d/rules: Update setting lld and gold archs.
 +  * d/rules: Don't use lld on ppc64, sparc64 and x32, apparently unsupported.
 +  * d/libclang-rt-X.Y-dev.install.in: Install liborc_rt* on loong64.
 +  * debian/patches/env-lld-package-metadata.diff: Update and re-enable.
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 14 Feb 2025 12:28:14 +0100
 +
 +llvm-toolchain-20 (1:20.1.0~+rc2-1~exp1) experimental; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * d/t/control.in: Remove explicit dependency on libstdc++-N-dev.
 +
 +  [ Sylvestre Ledru ]
 +  * new rc release
 +  * Disable env-lld-package-metadata.diff because of upstream changes
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 12 Feb 2025 13:23:30 +0100
 +
 +llvm-toolchain-20 (1:20.1.0~+rc1-1~exp1) experimental; urgency=medium
 +
 +  * First tag of 20.1.0
 +  * libLLVMOffload.so.20.0 => libLLVMOffload.so.20.1 to follow upstream change
 +  * Use lld as a linker instead of gold
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 03 Feb 2025 09:00:03 +0100
 +
 +llvm-toolchain-20 (1:20~++20250130014317+8c2574832ed2-1~exp1) experimental; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * d/rules: Distinguish between openmp and offload architectures.
 +  * Update libclang1 symbols file.
 +  * Update libomp symbols file, using symvers.
 +  * d/t/control: Remove explicit dependency on libstdc++-N-dev.
 +
 +  [ Sylvestre Ledru ]
 +  * Prepare the branch 20
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 30 Jan 2025 13:43:33 +0100
 +
 +llvm-toolchain-snapshot (1:20~++20250107094038+ea14bdb0356c-1~exp1) experimental; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * bolt: Disable the check for /proc/self/map_files. Might not be available
 +    on build machines. LP: #2084316.
 +  * Fix compatibility with Python 3.13. Closes: #1084659.
 +
 +  [ Sylvestre Ledru ]
 +  * New snapshot release
 +  * Install usr/lib/llvm-20/include/shared/rpc*.h in libllvmlibc-X.Y-dev
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 07 Jan 2025 21:41:10 +0100
 +
 +llvm-toolchain-snapshot (1:20~++20241212011120+0cbdad4bd239-1~exp1) experimental; urgency=medium
 +
 +  * Only build libc on supported arch (for real)
 +  * Ship bolt-binary-analysis in bolt
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 12 Dec 2024 13:22:30 +0100
 +
 +llvm-toolchain-snapshot (1:20~++20241205084449+66a0a081338d-1~exp1) experimental; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * Build-depend on llvm-spirv-19 instead of llvm-spirv-18.
 +  * d/libclang-cppX.Y.links.in: Honor LLVM_VERSION_MINOR for the symlink.
 +  * Update watch file and add .git* files to exclude in the tarball.
 +  * d/rules: Add a BD_ALT_HELLO macro. Set it to anything else than "yes" to avoid
 +    generating alternative build dependencies on hello in the control file.
 +
 +  [ Samuel Thibault ]
 +  * debian/libclang-common-X.Y-dev.install.in: Fix dh_install on hurd-any.
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Don't try to install xray and profile headers on powerpc
 +  * Install liborc_rt-powerpc64.a on powerpc
 +  * Allow overriding the bootstrap compiler from the environment
 +  * Set compiler-rt default target arch on powerpc
 +  * Restrict compiler-rt build to default target arch on powerpc
 +
 +  [ Sylvestre Ledru ]
 +  * experimental New snapshot release
 +  * flang-new has been renamed to flang (a flang-new still exists)
 +  * Use the | hello trick for g++-multilib for s390x / Ubuntu Oracular
 +  * Also install usr/lib/llvm-20/lib/libgomp.so.1 (links)
 +    Follow eccdb2489483ca58d2cb35bc38967a8e33117575
 +  * Ship fir-lsp-server in flang-20
 +  * Ship clang-sycl-linker in clang-tools
 +  * remove libLibcTableGenutil.a
 +    Removed in https://github.com/llvm/llvm-project/pull/117220/files
 +  * Ship liboffload in a new package
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 06 Dec 2024 18:14:31 +0100
 +
 +llvm-toolchain-snapshot (1:20~++20241008102056+4d218caa7716-1~exp1) experimental; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * Build-depend on llvm-spirv-19 instead of llvm-spirv-18.
 +  * d/libclang-cppX.Y.links.in: Honor LLVM_VERSION_MINOR for the symlink.
 +  * Update watch file and add .git* files to exclude in the tarball.
 +
 +  [ Samuel Thibault ]
 +  * debian/libclang-common-X.Y-dev.install.in: Fix dh_install on hurd-any.
 +
 +  [ Sylvestre Ledru ]
 +  * New snapshot release
 +  * sync from 19 => snapshot
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 08 Oct 2024 10:21:13 +0200
 +
 +llvm-toolchain-snapshot (1:20~++20240921071058+b177a9b6efb6-1~exp1) experimental; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * Add a .gitignore file with all toplevel upstream files and directories.
 +  * Add some memory tracking, getting some information on memory hogs.
 +  * Don't require g++-multilib on s390x for newer Ubuntu releases.
 +  * Factor-out ocaml architectures.
 +  * Don't try to install xray and profile headers on armel and armhf.
 +  * Disable ocaml on armhf, requires ocamlopt.
 +  * Factor-out omp architectures.
 +  * Disable openmp on riscv64 (ld: cannot find -lomptarget.rtl.host).
 +  * Factor-out flang architectures.
 +  * Disable flang on mips64el (currently not supported).
 +  * Don't try to install hwasan_symbolize on x32.
 +  * Don't try to install xray and profile headers on x32.
 +  * Fix installation of the shared libllvm and libclang-cpp libraries
 +    under their soname. Addresses: #1072200.
 +  * Drop some of the unnecessary libllvm symlinks.
 +  * debian/orig-tar.sh: Don't include .git/.github metadata.
 +  * debian/rules: Don't create a stamp for the override_dh_auto_install target.
 +  * debian/rules. Call again dh_ocaml. Closes: #1078235.
 +  * Disable openmp on mips64el (ld: cannot find -lomptarget.rtl.host).
 +  * Disable memory tracking on the Hurd and some ports architectures.
 +  * Also explicitly link with -latomic on mips64el.
 +  * Build without z3 on sh4 (ftbfs).
 +  * Also configure with -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="M68k;Xtensa".
 +  * debian/qualify-clang.sh: Don't check for libclang-cpp.so.$VERSION symlink.
 +  * debian/tests/*: s/18/20/g.
 +  * libllvm20: Restore the symlink /usr/lib/llvm-20/lib/libLLVM.so.1, apparently
 +    CMake's LLVMExports.cmake requires it. But why?
 +  * Disable z3 again for Ubuntu, and make the libz3-dev (build) dependency
 +    conditional.
 +  * Use -mxgot on mips64el.
 +  * Disable tests on mips64el, they do timeout.
 +  * Consolidate disabling CMake's package validation checks a bit.
 +  * debian/qualify-clang.sh: Skip OpenMP test, if libomp-dev is not available.
 +  * Disable CMake's package validation check for libLLVM.so.1.
 +  * Disable the usage-wrapper/memory tracking by default.
 +  * Limit lldb autopkg test to the lldb architectures.
 +  * Generate debian/tests/* files.
 +  * Replace LLDB_DISABLE_ARCHS macro with LLDB_ARCHS macro.
 +  * Remove unused kfreebsd patches, and remove references to kfreebsd and s390.
 +  * Remove references to alpha, hppa, powerpcspe and sh4.
 +  * Fix usage-wrapper build dependency.
 +  * Move the libLLVM.so.1 symlink into llvm-20-dev.
 +  * debian/qualify-clang.sh: Skip llvmlibc test, if libllvmlibc-dev is not
 +    available.
 +  * Don't relax versioned shlibs dependencies for snapshot builds and
 +    prerelease versions.
 +  * libllvm20: No symlinks in the llvm-20 subdir. Addresses: #1081192, #1082495.
 +
 +  [ Samuel Thibault ]
 +  * Add hurd-amd64 support.
 +
 +  [ Aurelien Jarno ]
 +  * Enable lldb on riscv64.
 +  * Enable lldb autopkgtest on riscv64.
 +
 +  [ YunQiang Su ]
 +  * also pass -mxgot in LDFLAGS.
 +  * d/p/mips-mlir-xgot.diff: Pass -mxgot for mlir.
 +
 +  [ Sylvestre Ledru ]
 +  * New snapshot release
 +  * Remove clang-rename
 +    https://github.com/llvm/llvm-project/commit/40c45b6b43180221acb49f387e7d3158adf49e3e
 +  * Ensure that at least 1 CPU is used for build
 +    Thanks to Santiago Vila for the patch
 +    (Closes: #1082360)
 +  * Remove clang-pseudo
 +    https://github.com/llvm/llvm-project/pull/109154
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 21 Sep 2024 19:12:01 +0200
 +
 +llvm-toolchain-snapshot (1:20~++20240919085205+77af9d10237f-1~exp1) experimental; urgency=medium
 +
 +  [ Matthias Klose ]
 +  * Add a .gitignore file with all toplevel upstream files and directories.
 +  * Add some memory tracking, getting some information on memory hogs.
 +  * Don't require g++-multilib on s390x for newer Ubuntu releases.
 +  * Factor-out ocaml architectures.
 +  * Don't try to install xray and profile headers on armel and armhf.
 +  * Disable ocaml on armhf, requires ocamlopt.
 +  * Factor-out omp architectures.
 +  * Disable openmp on riscv64 (ld: cannot find -lomptarget.rtl.host).
 +  * Factor-out flang architectures.
 +  * Disable flang on mips64el (currently not supported).
 +  * Don't try to install hwasan_symbolize on x32.
 +  * Don't try to install xray and profile headers on x32.
 +  * Fix installation of the shared libllvm and libclang-cpp libraries
 +    under their soname. Addresses: #1072200.
 +  * Drop some of the unnecessary libllvm symlinks.
 +  * debian/orig-tar.sh: Don't include .git/.github metadata.
 +  * debian/rules: Don't create a stamp for the override_dh_auto_install target.
 +  * debian/rules. Call again dh_ocaml. Closes: #1078235.
 +  * Disable openmp on mips64el (ld: cannot find -lomptarget.rtl.host).
 +  * Disable memory tracking on the Hurd and some ports architectures.
 +  * Also explicitly link with -latomic on mips64el.
 +  * Build without z3 on sh4 (ftbfs).
 +  * Also configure with -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="M68k;Xtensa".
 +  * debian/qualify-clang.sh: Don't check for libclang-cpp.so.$VERSION symlink.
 +  * debian/tests/*: s/18/20/g.
 +  * libllvm20: Restore the symlink /usr/lib/llvm-20/lib/libLLVM.so.1, apparently
 +    CMake's LLVMExports.cmake requires it. But why?
 +  * Disable z3 again for Ubuntu, and make the libz3-dev (build) dependency
 +    conditional.
 +  * Use -mxgot on mips64el.
 +  * Disable tests on mips64el, they do timeout.
 +  * Consolidate disabling CMake's package validation checks a bit.
 +  * debian/qualify-clang.sh: Skip OpenMP test, if libomp-dev is not available.
 +  * Disable CMake's package validation check for libLLVM.so.1.
 +  * Disable the usage-wrapper/memory tracking by default.
 +  * Limit lldb autopkg test to the lldb architectures.
 +  * Generate debian/tests/* files.
 +  * Replace LLDB_DISABLE_ARCHS macro with LLDB_ARCHS macro.
 +  * Remove unused kfreebsd patches, and remove references to kfreebsd and s390.
 +  * Remove references to alpha, hppa, powerpcspe and sh4.
 +  * Fix usage-wrapper build dependency.
 +  * Move the libLLVM.so.1 symlink into llvm-20-dev.
 +  * debian/qualify-clang.sh: Skip llvmlibc test, if libllvmlibc-dev is not
 +    available.
 +
 +  [ Samuel Thibault ]
 +  * Add hurd-amd64 support.
 +
 +  [ Aurelien Jarno ]
 +  * Enable lldb on riscv64.
 +  * Enable lldb autopkgtest on riscv64.
 +
 +  [ YunQiang Su ]
 +  * also pass -mxgot in LDFLAGS.
 +  * d/p/mips-mlir-xgot.diff: Pass -mxgot for mlir.
 +
 +  [ Sylvestre Ledru ]
 +  * New snapshot release
 +  * Remove clang-rename
 +    https://github.com/llvm/llvm-project/commit/40c45b6b43180221acb49f387e7d3158adf49e3e
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 19 Sep 2024 08:53:00 +0200
 +
 +llvm-toolchain-snapshot (1:20~++20240726085032+92a06546ab50-1~exp2) experimental; urgency=medium
 +
 +  * Ship usr/lib/llvm-20/lib/clang/20/include/llvm_offload_wrappers in
 +    libclang-common-20-dev
 +  * Ship /usr/lib/llvm-20/lib/libFlangOpenMPTransforms.a in
 +    libflang-20-dev
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 13 Aug 2024 19:19:23 +0200
 +
 +llvm-toolchain-snapshot (1:20~++20240726085032+92a06546ab50-1~exp1) experimental; urgency=medium
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable LLVM testsuite on x32
 +  * Install liborc_rt-x86_64.a on x32
 +  * Install hwasan_symbolize on x32
 +
 +  [ Norbert Lange ]
 +  * build lldb with Intel PT support on x86, amd64
 +
 +  [ Sylvestre Ledru ]
 +  * Adjust the clang-X-doc path after the change
 +    d7dd778cde84110e38521a6b55dfeb4e1c649ec2
 +  * bring back clang-nvlink-wrapper
 +    following upstream commit: 37d0568a6593adfe791c1327d99731050540e97a
 +  * rename llvm-omp-device-info to llvm-offload-device-info
 +    following 7102592af740ed9f8b388c12dd2182039a58167d
 +  * ship llvm-ctxprof-util in llvm-X.Y-tools
 +  * ship llvm-cgdata in llvm-X.Y-tools
 +  * snapshot is now 20
 +
 +  [ Matthias Klose ]
 +  * Pass --package-metadata on distros with supporting linkers (starting
 +    with Debian trixie and Ubuntu noble).
 +    The package metadata is constructed from the environment variables
 +    ELF_PACKAGE_METADATA.
 +    Setting NO_PKG_METADATA=1 disables the generation of the package metadata.
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 26 Jul 2024 08:50:50 +0200
 +
 +llvm-toolchain-19 (1:19.1.7-2) unstable; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * Skip some autopkgtests on non intel cpu. Closes: #1094233.
 +  * clang-19 recommends clang-tools-19
 +    https://github.com/llvm/llvm-project/issues/117333
 +  * Also add binutils-gold in the integration-test-suite-test testsuite
 +  * Add binutils-gold as build dep
 +
 +  [ Matthias Klose ]
 +  * d/t/control.in: Add binutils-gold as explicit test dependency.
 +    Don't add binutils-gold as a build dependency, just build with the
 +    default linker.
 +  * Do changes from last upload in d/t/control.in, not in d/t/control.
 +  * d/rules: Simplify permission settings for generated debhelper files.
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 25 Feb 2025 18:05:48 +0100
  
  llvm-toolchain-19 (1:19.1.7-1) unstable; urgency=medium
  
diff --cc debian/control
index e00d51c29a978da6ab0bd732d509839e2219f215,0e7b6a9aa76ab2474c0d2eb49b6f272b191871a5..038e0b6e07179deaa4c3eb6817cc8d5c0011831b
@@@ -919,21 -845,19 +919,21 @@@ Description: LLVM unwinder, not compati
   or to operate on another process (aka remote), but only the local path has
   been implemented. Remote unwinding remains as future work.
  
 -Package: libunwind-19-dev
 +Package: libunwind-21-dev
 +Build-Profiles: <!pkg.llvm.noclang>
  Section: libdevel
- Architecture: amd64 arm64 armhf i386 loong64 ppc64 ppc64el riscv64
+ Architecture: amd64 arm64 i386 loong64 ppc64el ppc64 riscv64
 -Multi-Arch: same
  Depends:
   ${misc:Depends},
 - libunwind-19 (= ${binary:Version})
 -Provides: libunwind-dev, libunwind-x.y-dev
 + llvm-libunwind1 (>= ${binary:Version})
 +Provides: libunwind-x.y-dev
  Conflicts: libunwind-dev, libunwind-x.y-dev
 -Replaces: libunwind-dev, libunwind-x.y-dev
 -Description: production-quality unwinder
 - libunwind is a production-quality unwinder, with platform support for DWARF
 - unwind info, SjLj, and ARM EHABI.
 +Breaks: llvm-libunwind1 (<< 1:21.1.4-6)
 +Replaces: libunwind-dev, libunwind-x.y-dev, llvm-libunwind1 (<< 1:21.1.4-6)
 +Description: LLVM unwinder, not compatible with glibc
 + llvm-libunwind is the LLVM unwinder, with platform support for DWARF
 + unwind info, SjLj, and ARM EHABI.  Using it for packaging work inside
 + Debian is not recommended, incompatible with glibc.
   .
   The low level libunwind API was designed to work either in-process (aka local)
   or to operate on another process (aka remote), but only the local path has
index 9d1268f3db96e795f6dce967086e02983a444e53,3aad9d7c392854bf5d59674049785859fb49b49a..f02fceaaf1ee4d81f5ef0dc44407780986de66a0
@@@ -899,10 -828,9 +899,10 @@@ Description: OpenCL C language implemen
  
  # ------------- libunwind -------------
  
 -Package: libunwind-@LLVM_VERSION@
 +Package: llvm-libunwind1
 +Build-Profiles: <!pkg.llvm.noclang>
  Section: libs
- Architecture: @LIBUNWIND_ARCHS@
+ Architecture: amd64 arm64 i386 loong64 ppc64el ppc64 riscv64
  Multi-Arch: same
  Depends: ${shlibs:Depends},
   ${misc:Depends}
@@@ -920,20 -846,18 +920,20 @@@ Description: LLVM unwinder, not compati
   been implemented. Remote unwinding remains as future work.
  
  Package: libunwind-@LLVM_VERSION@-dev
 +Build-Profiles: <!pkg.llvm.noclang>
  Section: libdevel
- Architecture: @LIBUNWIND_ARCHS@
+ Architecture: amd64 arm64 i386 loong64 ppc64el ppc64 riscv64
 -Multi-Arch: same
  Depends:
   ${misc:Depends},
 - libunwind-@LLVM_VERSION@ (= ${binary:Version})
 -Provides: libunwind-dev, libunwind-x.y-dev
 + llvm-libunwind1 (>= ${binary:Version})
 +Provides: libunwind-x.y-dev
  Conflicts: libunwind-dev, libunwind-x.y-dev
 -Replaces: libunwind-dev, libunwind-x.y-dev
 -Description: production-quality unwinder
 - libunwind is a production-quality unwinder, with platform support for DWARF
 - unwind info, SjLj, and ARM EHABI.
 +Breaks: llvm-libunwind1 (<< 1:21.1.4-6)
 +Replaces: libunwind-dev, libunwind-x.y-dev, llvm-libunwind1 (<< 1:21.1.4-6)
 +Description: LLVM unwinder, not compatible with glibc
 + llvm-libunwind is the LLVM unwinder, with platform support for DWARF
 + unwind info, SjLj, and ARM EHABI.  Using it for packaging work inside
 + Debian is not recommended, incompatible with glibc.
   .
   The low level libunwind API was designed to work either in-process (aka local)
   or to operate on another process (aka remote), but only the local path has
index b285513b017d52b071dd7b5285c22ceb187dc80a,f7a8f30ee7c422d0b5bf6a2f2588cb3094d67315..67241d20aafdb741927551e52806dbfe608ac2e6
@@@ -14,13 -12,11 +12,10 @@@ fix-clang-path-and-build.dif
  0048-Set-html_static_path-_static-everywhere.patch
  symbolizer-path.diff
  clang-tidy-run-bin.diff
 -0001-tools-clang-cmake-resolve-symlinks-in-ClangConfig.cmake.patch
  debug-jit-path.diff
  # commented because of bug 903709
  #force-gcc-header-obj.diff
  do-not-fail-on-unexpected-pass.diff
  # Lib names
  0044-soname.diff
  lldb/lldb-soname.diff
@@@ -49,16 -42,13 +41,12 @@@ fix-scan-view-path.dif
  # lldb
  lldb/lldb-addversion-suffix-to-llvm-server-exec.patch
  lldb/lldb-missing-install.diff
  # Fix arch issue
  disable-error-xray.diff
  # OpenMP
  openmp/openmp-check-execstack.diff
  # libcxx
  libcxx/libcxxabi-test-don-t-fail-extended-long-double.patch
 -libcxx/libcxx-test-fix-lockfree-test-for-i386.patch
  libcxx/libcxxabi-arm-ehabi-fix.patch
  libcxx/libcxx-silent-test-libcxx.diff
  libcxx/libcxx-silent-failure-ppc64el.diff
@@@ -69,27 -59,23 +57,21 @@@ libcxx/libcxx-armhf-ftbfs.dif
  # Change default optims
  mips/mips-fpxx-enable.diff
  mips/mips-force-nomadd4.patch
 -mips/mips-D101773-reloc.patch
  mips/syscall-mips64el-def.diff
  26-set-correct-float-abi.diff
 -clang-baseline-fix-i386.patch
 -disable-sse2-old-x86.diff
  clang-arm-default-vfp3-on-armv7a.patch
  # For the bootstrap
  clangd-atomic-cmake.patch
  # Fix docs
  #  https://reviews.llvm.org/D60380
  remove-apple-clang-manpage.diff
  0049-Use-Debian-provided-MathJax-everywhere.patch
  # Hurd port
  hurd/hurd-pathmax.diff
 -hurd/hurd-f_type.diff
 +hurd/47211c4b96e99a3344a71570a99b991c5f5c1c01.patch
 +
  930008-arm.diff
  bootstrap-fix-include-next.diff
  # bug 939472
  #try-to-unbreak-thinlto.diff
  #D67877-cmake-clang-example.patch
@@@ -129,15 -109,9 +105,17 @@@ arm32-defaults.dif
  disable-openmp-per-target.diff
  offload-disable-static-assert.diff
  link-with-package-metadata.diff
 -env-lld-package-metadata.diff
  mips-mlir-xgot.diff
 -ubuntu-plucky.patch
 +#env-lld-package-metadata.diff
  bolt-disable-proc-check.diff
 -python3.13-quote.diff
 +#cmake-issue-126358.diff
 +lower-flang-py-dep.diff
 +revert-issue-139220.diff
 +unbreak-arhmf.patch
 +ubuntu-resolute.patch
 +fix-crash-ghc-arm.patch
 +
 +# only apply this patch for Ubuntu 25.10 or newer
 +#ubuntu-clang-use-RVA23U64-profile.patch
++
+ raspbian-triplet.patch
diff --cc debian/rules
index 2c4c2a929300911472f1f35bac9f5f1a1a2f9e32,5694379dae6f95932b05260e94b6be9d40ff5c03..14a4387a9c6d38e5df03ff10f4e1213406be0ee9
@@@ -609,9 -431,8 +616,9 @@@ ifneq (,$(filter $(DEB_HOST_ARCH), $(PO
  endif
  
  # Enable libunwind (or not)
- LIBUNWIND_ARCHS := amd64 arm64 armhf i386 loong64 ppc64 ppc64el riscv64
++LIBUNWIND_ARCHS := amd64 arm64 i386 loong64 ppc64 ppc64el riscv64
  LIBUNWIND_ENABLE=yes
 -ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel armhf m68k mipsel mips64el hurd-i386 hurd-amd64 powerpc sparc sparc64 x32))
 +ifeq (,$(filter $(DEB_HOST_ARCH), $(LIBUNWIND_ARCHS)))
    LIBUNWIND_ENABLE=no
  # do not use compiler-rt builtins for libcxx (libcxxabi) when libunwind is
  # disabled since the gnu implementation in libgcc_s will then be required
@@@ -1518,10 -1255,9 +1531,11 @@@ endi
  endif
  
  override_dh_auto_install:
+       mkdir -p build-llvm/docs/ocamldoc/html/
 +ifeq ($(SMALL_DISK),yes)
        # Clean up temporary files to make sure the install works
        rm -rf $(find $(TARGET_BUILD) -wholename '*CMakeFiles*' -not -name CMakeLists.txt -a -name "*.dir" -type d)
 +endif
  
        # install/fast enables a make install without recompiling temporary files
        LD_LIBRARY_PATH=$(STAGE_2_LIB_DIR):$$LD_LIBRARY_PATH DESTDIR=$(DEB_INST)/ ninja -C $(TARGET_BUILD) $(VERBOSE) stage2-install
@@@ -2067,15 -1621,15 +2081,15 @@@ override_dh_installdeb: stamps/repack_a
  # the openmp header files moved to the same path as lib clang headers.
  # To make sure they aren't conflicting ( https://bugs.llvm.org/show_bug.cgi?id=46977 )
  # Remove them from the libclang-common package
 -      rm -f $(CURDIR)/debian/libclang-common-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/lib/clang/$(LLVM_VERSION)/include/omp*.h
 +      rm -f debian/libclang-common-$(LLVM_VERSION)-dev/$(LLVM_DIR)/lib/clang/$(LLVM_VERSION)/include/omp*.h
  
  # Remove some libc++ abi files in the libc++ file. See bug #969274
 -      rm -f $(CURDIR)/debian/libc++-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/include/c++/__cxxabi_config.h $(CURDIR)/debian/libc++-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/include/c++/cxxabi.h
 +      rm -f debian/libc++-$(LLVM_VERSION)-dev/$(LLVM_DIR)/include/c++/__cxxabi_config.h debian/libc++-$(LLVM_VERSION)-dev/$(LLVM_DIR)/include/c++/cxxabi.h
  
  # Remove auto generated python pyc
 -      find $(CURDIR)/debian/llvm-$(LLVM_VERSION)-tools/usr/lib/llvm-$(LLVM_VERSION)/ -name '*.pyc' | xargs -r rm -f
 +      find debian/llvm-$(LLVM_VERSION)-tools/$(LLVM_DIR)/ -name '*.pyc' | xargs -r rm -f
  
- ifeq (${RUN_TEST},yes)
+ ifeq (false,true)
  # List of the archs we know we have 100 % tests working
  ARCH_LLVM_TEST_OK := i386 amd64
  
@@@ -2177,12 -1731,25 +2191,25 @@@ override_dh_auto_clean
        find utils -name '*.pyc' | xargs -r rm -f
        # Use -I because a test has a space in its name
        find lldb/test -iname '*.pyc' | xargs -I{} -r rm -f {}
 -      rm -f $(CURDIR)/utils/vim/llvm-$(LLVM_VERSION).vim $(CURDIR)/utils/vim/tablegen-$(LLVM_VERSION).vim
 -      rm -f $(CURDIR)/clang/tools/clang-format/clang-format-diff-$(LLVM_VERSION)
 -      rm -f $(CURDIR)/clang/tools/clang-format/clang-format-$(LLVM_VERSION).py
 +      rm -f utils/vim/llvm-$(LLVM_VERSION).vim $(CURDIR)/utils/vim/tablegen-$(LLVM_VERSION).vim
 +      rm -f clang/tools/clang-format/clang-format-diff-$(LLVM_VERSION)
 +      rm -f clang/tools/clang-format/clang-format-$(LLVM_VERSION).py
        rm -rf libclc/build
        rm -rf build-wasm
 +      rm -rf build-mingw
+       rm -f `find . -name '*.pyc'`
+       rm -rf debian/usr
+       rm -rf clang/tools/*-3.9
+       rm -f `find . -name '*3.9.vim'`
+       rm -f clang/tools/scan-build/man/scan-build-3.9.1 utils/vim/llvm-3.9-vimrc
+       rm -f debian/*.install
+       rm -f clang/tools/scan-view-7.0/share/FileRadar.scpt clang/tools/scan-view-7.0/share/bugcatcher.ico
+       rm -f `cat debian/morecraptoremove`
+       rm -rf debian/man
+       rm -f debian/*.links debian/c*.lintian-overrides debian/l*.lintian-overrides debian/*.META debian/*.dirs debian/*.docs debian/*.symbols debian/*.postinst debian/*.manpages debian/*.examples debian/*.binfmt debian/*.prerm
+       -rmdir clang/include/clang/Debian/
+       -rmdir lldb/docs/doc/
+       chmod 644 llvm/cmake/config.guess.hack
        if test -f lld/docs/ld.lld-$(LLVM_VERSION).1; then \
                mv lld/docs/ld.lld-$(LLVM_VERSION).1 lld/docs/ld.lld.1; \
        fi